Skip to main content
POST
/
action
/
heygen_avatar_get_video_status
[HG2] Get Video Status
curl --request POST \
  --url https://api-lr.agent.ai/v1/action/heygen_avatar_get_video_status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "video_id": "{{heygen_result.video_id}}",
  "output_variable_name": "video_status"
}
'
{
  "status": 123,
  "response": {}
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
video_id
string
default:{{heygen_result.video_id}}
required

HeyGen video ID to check. Usually {{heygen_result.video_id}}.

output_variable_name
string
default:video_status
required

Variable name for status result. Check {{video_status.status}} and {{video_status.video_url}}.

Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action